package com.lbm.business.service;

import java.util.List;

import com.lbm.baseclass.exception.ServiceException;
import com.lbm.baseclass.service.IBaseService;
import com.lbm.model.RoleUser;

public interface IRoleUserService extends IBaseService {
	/**
	 * 通过HQL构造查询条件来查询符合条件的UserUser信息
	 * 
	 * @param hql
	 * @return List
	 * @throws DataAccessException
	 */
	public List getRoleUserByHQL(String hql)throws ServiceException;
	/**
	 * 根据主键查询UserUser信息明细
	 * 
	 * @param id
	 * @throws DataAccessException
	 */
	public RoleUser getRoleUserById(String id) throws ServiceException;
	/**
	 * 查询所有的UserUser信息
	 * 
	 * @param hql
	 * @return List
	 * @throws DataAccessException
	 */
	public List getAllRoleUser() throws ServiceException;
	/**
	 * 新增、修改UserUser信息
	 * 
	 * @param UserUser
	 * @throws DataAccessException
	 */
	 public  void saveOrUpdateRoleUser(RoleUser roleUser) throws ServiceException ;
    /**
	 * 删除UserUser信息
	 * 
	 * @param id
	 * @throws DataAccessException
	 */
	  public  void deleteRoleUser(String id) throws ServiceException;
}
